﻿using RStudio.UIFramwork.Utils;


namespace RStudio.UIFramwork
{
    /// <summary>
    /// 处理器|位列
    /// </summary>
    public class HandlerResetSibling : IUIHandler
    {
        public IUIHandler Next { get; set; }

        public void Handle(UIBase uiBase)
        {
            LayoutUtil.SetSibling(uiBase.transform, -1);

            Next?.Handle(uiBase);
        }
    }
}
